package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 项目表
 *
 * @author flyme
 * @date 2020-09-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_project")
@TableAlias("project")
@ApiModel(value = "BusProject对象", description = "项目表")
public class BusProject extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    // @TableId(value = "projectId", type = IdType.ID_WORKER)
    @TableId(value = "projectId")
    private Long projectId;

    @ApiModelProperty(value = "项目编码")
//    @TableId(value = "projectCode")
    private String projectCode;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "材料版本ID")
    private Long versionId;

    @ApiModelProperty(value = "分包版本ID")
    private Long versionpackageId;

    @ApiModelProperty(value = "创建人")
    private Long userId;

    @ApiModelProperty(value = "项目状态")
    private Integer state;

    @ApiModelProperty(value = "项目地址")
    private String projectAddress;

    @ApiModelProperty(value = "项目采购岗")
    private String projectCgg;

    @ApiModelProperty(value = "项目商务岗")
    private String projectSwg;

    @ApiModelProperty(value = "项目财务")
    private String projectCwg;

    @ApiModelProperty(value = "项目经理")
    private String projectXm;

    @ApiModelProperty(value = "物资采购")
    private String suppliesCg;

    @ApiModelProperty(value = "商务岗采购")
    private String businessCg;

    @ApiModelProperty(value = "项目联系人")
    private String projectLinkMan;

    @ApiModelProperty(value = "项目人电话")
    private String linkTel;

    @ApiModelProperty(value = "项目联系人")
    private String linkEmail;

    @ApiModelProperty(value = "材料员")
    private String materialsLinkMan;

    @ApiModelProperty(value = "材料员电话")
    private String materialsTel;

    @ApiModelProperty(value = "材料员邮箱")
    private String materialsEmail;

    @ApiModelProperty(value = "收货员名称")
    private String deliveryLinkMan;

    @ApiModelProperty(value = "收货员电话")
    private String deliveryTel;

    @ApiModelProperty(value = "收货员邮箱")
    private String deliveryEmai;

    @ApiModelProperty(value = "是否转存200")
    private Integer archive200packge;

    @ApiModelProperty(value = "是否转存100")
    private Integer version100;

    @ApiModelProperty(value = "对外月报类型")
    private Integer reportOutType;

    @ApiModelProperty(value = "采购组名称")
    private String goodsPurGroupName;

    @ApiModelProperty(value = "采购组编码")
    private String goodsPurGroupCode;

    @ApiModelProperty(value = "商务组名称")
    private String businessPurGroupName;

    @ApiModelProperty(value = "商务组编码")
    private String businessPurGroupCode;

    @ApiModelProperty(value = "项目部门数据权限")
    private String deptProjectCode;

    @ApiModelProperty(value = "对外验工月报oa审核状态")
    private Integer reportOutState;


}
